package yukii.com;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

/**
 * web服务器
 * Created by yuven on 2017/9/6.
 */

public class webServer {
    public static void main(String[] args) throws IOException {
            ServerSocket serverSocket = new ServerSocket(80);
            while (true){
                Socket socket = serverSocket.accept();
                new  processor(socket).run();
            }
    }
}
